Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prefer pyproject over setup.py #34

Merged
merged 1 commit into from
May 2, 2024
Merged

Conversation

fjebaker
Copy link
Contributor

@fjebaker fjebaker commented May 2, 2024

See commit message for some details.

Basically want to move the setup of mdb to use the system that PyPa prefers (see e.g. https://github.com/pypa/sampleproject).

Nothing practically changes in this PR, as in, pip install .[develop] and related all still work.

See PEP 518 and PEP 621. Distutils is also being discontinued so want to
always the modern tools.

The only thing that doesn't play nicely at the moment is flake8, which
wants its configuration in `tox.ini` instead of `pyproject.toml`. But
this is also pretty standard, and even used in the sample Python project
that PyPa maintain.
@TomMelt
Copy link
Owner

TomMelt commented May 2, 2024

thanks @fjebaker this is great 👌

@TomMelt TomMelt merged commit 9987809 into TomMelt:main May 2, 2024
0 of 2 checks passed
@fjebaker fjebaker deleted the fergus/pyproject branch May 3, 2024 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants